package com.axjy.service;

import com.axjy.pojo.Menu;
import com.axjy.web.vo.Node;
import java.util.List;
import java.util.Map;

/**
 * Created by zjn on 2018/2/3.
 */
public interface PermissionService {

    public List<Node> search4Tree(Integer roleId);

    public void grant4Role(Integer roleId,Integer[] mids);

    public Map<Menu,List<Menu>> createMenus(Integer userId);


}
